package com.zb_study.Homework03;

public class homework03 {
    public static void main(String[] args) {
        Manager manager = new Manager("tom", 500, 30, 1.2);
        System.out.println(manager.getName() + "工资为：" + manager.printInfo());
        Staff staff = new Staff("jack", 300, 30, 1.0);
        System.out.println(staff.getName() + "工资为：" + staff.printInfo());
    }
}
